@mixin table-icon {
  vertical-align: bottom;
}

@mixin table-icon-position($top, $bottom) {
  position: relative;
  top: $top;
  bottom: $bottom;
}

::v-deep .el-table {
  [class*='el-table__row--level'] {
    .el-table__expand-icon {
      @include table-icon();
      @include table-icon-position(unset, 1px);
    }
  }
}

::v-deep .el-table.drill-table {
  [class*='el-table__row--level'] {
    .el-table__expand-icon {
      @include table-icon-position(1px, unset);
    }
  }
}

.el-table {
  .org-isleaf {
    padding-left: 23px;
  }

  ::v-deep .el-table__placeholder {
    width: 0;
  }
  // ::v-deep .drill-header {
  //   .el-checkbox {
  //     display: none;
  //   }
  // }
  ::v-deep .hide-all-check{
    .el-checkbox {
      display: none;
    }
  }
}

.el-table {
  ::v-deep .fake-disabled-checkbox {
    box-sizing: content-box;
    width: 12px;
    height: 12px;
    // position: absolute;
    top: 10%;
    left: 0;
    border: 1px solid #DCDFE6;
    background-color: #edf2fc;
    border-radius: 2px;
    cursor: not-allowed;
    z-index: 5;
  }
}
